all: seg_server after_release

seg_server: ServerSocket.o Socket.o server_main.o 
	g++ ServerSocket.o Socket.o server_main.o  -o seg_server

ServerSocket.o: ServerSocket.cpp
	g++  -c ServerSocket.cpp -o ServerSocket.o

Socket.o: Socket.cpp
	g++  -c Socket.cpp -o Socket.o

server_main.o: server_main.cpp
	g++  -c server_main.cpp -o server_main.o

clean: 
	 rm -f seg_server

after_release:
	rm -f ServerSocket.o Socket.o server_main.o

.PHONY: after_release clean

